package demo.entity;

import com.sun.media.sound.SoftTuning;
import demo.entity.User;

import javax.lang.model.element.VariableElement;
import java.beans.IntrospectionException;
import java.beans.PropertyDescriptor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Arrays;

/**
 * @author lsr
 * @create 2021-04-27-15:03
 */
public class UserClazzDemo {

    public static void main(String[] args) {
        String[] names = {"单选题","多选题", "判断题", "填空题", "简答题"};
        boolean flag = Arrays.asList(names).contains("单选题");

        if(flag){
            System.out.println("找到了");
        }
        System.out.println((char)('A'+1));
        System.out.println(flag);
        System.out.println("=====");
    }

}
